<template>
  <div class="accountsetadjust">
    <el-form :inline="true">
      <el-form-item label="申请单：">
        <el-select v-model="value" placeholder="请选择">
          <el-option
            v-for="item in options"
            :key="item.value"
            :label="item.label"
            :value="item.value"
          >
          </el-option>
        </el-select>
      </el-form-item>
      <el-form-item>
        <el-button plain>申请</el-button>
        <el-button class="el-icon-printer" plain>打印</el-button>
        <el-button plain>退回</el-button>
      </el-form-item>
    </el-form>
    <el-table :data="tableData" border style="width: 906px" 
      :header-cell-style="{ 'text-align': 'center' }"
      :cell-style="{ 'text-align': 'center' }"
      :row-style="{ 'height': '48px'}">
      <el-table-column type="selection" width="55"> </el-table-column>
      <el-table-column prop="name" label="姓名" width="120" />
      <el-table-column prop="province" label="调整金额" width="120" />
      <el-table-column prop="city" label="说明" width="120" />
      <el-table-column prop="address" label="操作员" width="130" />
      <el-table-column prop="zip" label="操作时间" width="120" />
      <el-table-column prop="zip" label="审核人" width="120" />
      <el-table-column prop="zip" label="审核时间" width="120" />
    </el-table>
    <el-pagination
      @size-change="handleSizeChange"
      @current-change="handleCurrentChange"
      :current-page="currentPage4"
      :page-sizes="[10, 50 , 100, 200]"
      :page-size="100"
      layout="total, sizes, prev, pager, next, jumper"
      :total="this.tableData.length"
    >
    </el-pagination>
  </div>
</template>

<script>
export default {
  name: "",
  data() {
    return {
      msg: "账户调整制单",
      options: [],
      value: "",
      tableData: [],
      currentPage4: 1,
    };
  },
  methods: {
    handleSizeChange(val) {
      console.log(`每页 ${val} 条`);
    },
    handleCurrentChange(val) {
      console.log(`当前页: ${val}`);
    },
  },
};
</script>

<style scoped lang="scss">
.accountsetadjust {
  padding: 30px;
  .el-pagination {
    max-width: 906px;
    text-align: right;
  }
}
</style>
